<template>
  <view class="cs-section">
    <wd-cell-group :title="title" type="line">
      <slot></slot>
    </wd-cell-group>
  </view>
</template>

<script lang="ts" setup>
defineOptions({
  name: 'cs-section',
  options: {
    addGlobalClass: true,
    virtualHost: true, // page con't use this
    styleIsolation: 'shared',
  },
})

defineProps<{ title?: string }>()
</script>

<style lang="scss" scoped></style>
